package com.nursery.kindergarten.service;

import java.util.List;

import com.nursery.kindergarten.entity.KindergartenInfo;
import com.nursery.kindergarten.entity.KindergartenInfoExample;

public interface KindergartenInfoService {

	long countByExample(KindergartenInfoExample example);
	
	void deleteByPrimaryKey(Integer id) throws Exception;
	
	void insert(KindergartenInfo record) throws Exception;
	
	List<KindergartenInfo> selectByExample(KindergartenInfoExample example);

    KindergartenInfo selectByPrimaryKey(Integer id);
    
    void updateByPrimaryKeySelective(KindergartenInfo record) throws Exception;

    void updateByPrimaryKey(KindergartenInfo record) throws Exception;
    
    String getNameById(Integer id);
}
